package net.hn.hnms.biz.safety.trinity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;
import java.util.Objects;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/10
 */
@Entity
@Data
@ApiModel("风险措施表")
@Table(name = "risk_control_measure", schema = "swyt", catalog = "huaneng-safety")
public class RiskControlMeasureEntity {

    @ApiModelProperty(value = "管控措施ID")
    @TableId(value = "measure_id")
    @Id
    private String measureId;

    @ApiModelProperty(value = "煤矿编码")
    @Column(name = "mine_code")
    private String mineCode;

    @ApiModelProperty(value = "风险ID")
    @Column(name = "risk_id")
    private String riskId;

    @ApiModelProperty(value = "责任部门编码")
    @Column(name = "duty_dept_codes")
    private String dutyDeptCodes;

    @ApiModelProperty(value = "责任部门名称")
    @Column(name = "duty_dept_names")
    private String dutyDeptNames;

    @ApiModelProperty(value = "责任岗位编码")
    @Column(name = "duty_post_codes")
    private String dutyPostCodes;

    @ApiModelProperty(value = "责任岗位名称")
    @Column(name = "duty_post_names")
    private String dutyPostNames;

    @ApiModelProperty(value = "责任人编码")
    @Column(name = "duty_person_codes")
    private String dutyPersonCodes;

    @ApiModelProperty(value = "责任人名称")
    @Column(name = "duty_person_names")
    private String dutyPersonNames;

    @ApiModelProperty(value = "管控措施")
    @Column(name = "control_measure")
    private String controlMeasure;

    @ApiModelProperty(value = "数据时间")
    @Column(name = "data_time")
    private Date dataTime;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;



}
